<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <link rel="stylesheet" href="../../css/qt/myCenter/per-center.css">
    <link rel="stylesheet" href="../../css/qt/nav.css">
    <link rel="stylesheet" href="../../css/qt/myCenter/icon.css">
    <script src="../../JS/jquery-1.12.4.js"></script>
    <style>
    .nav li a{
        color: black;
        font-size: 16px;
        font-weight: bold;
    }
    </style>
</head>
<body style="background-color: white">
<!-- 顶部导航starting -->
<div class="nav" style="background-color: white">
    <div class="nav_mid">
        <?php
        require ('../../ht/Common/db.php');
        $sql="select * from blogtype";
        $rs=mysql_query($sql)or die('查询1失败！'.mysql_error());
        ?>
        <ul >
            <li style="font-weight: bolder"><a href="../../../blog_php/qt/qt_index.php">首页</a></li>
            <?php
            while($row=mysql_fetch_assoc($rs))
            {
                ?>
                <li><a href="../../../blog_php/qt/list.php?tid=<?php
                    echo $row["tid"];
                    ?>
                "><?php
                        echo $row["typename"];
                        ?>
                    </a></li>
                <?php
            }
            ?>
        </ul>
        </li>
        </ul>
        <form  action="../../../blog_php/qt/search.php"class="navbar-form navbar-left" role="search" >
            <div class="form-group">
                <input type="text" class="form-control"  name="title" placeholder="Search...">
                <button type="submit" class="btn" >搜索</button>
            </div>

        </form>
        <ul class="center-uers"><?php
            session_start();
//           $sql = "select * from users where uname={$_SESSION["user"]}";
//            $result = mysql_query($sql) or die('查询失败！'.mysql_error());
//            $row = mysql_fetch_assoc($result);
//            ?>
            <li><a href="#">欢迎 <-- <?php echo $_SESSION["user"];?> --></a></li>
            <li><a href="../../qt/Common/loginOut.php">注销</a></li>
        </ul>
    </div>
</div>
<!-- 顶部导航ending -->
<!-- 蓝色图片通栏starting -->
<div class="nav_header">
    <div class="img"></div>
</div>
<!-- 蓝色图片通栏ending -->
<!-- 主体内容starting -->
<div class="content">
    <!-- 左侧栏starting -->
    <div class="left">
        <span class="title">个人中心</span>
        <ul class="sidebar_list">
            <li><a class="cls" href="per_center.php">首<b style="width: 31px;display: inline-block;"></b>页</a><span></span></li>
            <li><a class="cls" href="myMessge.html">我的信息</a><span></span></li>
            <li><a class="cls" href="list-icon.php">我的头像</a><span></span></li>
            <li><a class="cls" href="acc-Security.html">帐号安全</a><span></span></li>
            <li><a class="cls" href="myComments.html">我的留言</a><span></span></li>
            <li><a class="cls" href="myAssess.html">我的评价</a><span></span></li>
        </ul>
    </div>
    <!-- 左侧栏ending -->
    <!-- 左边内容starting -->
    <div class="right" id="main">
        <h2><a href="../../魔方小游戏/game.html">我的 游戏</a></h2>

    </div>
    <!-- 右边内容ending -->
</div>
<!-- 主体内容ending -->
<script src="../../JS/pt-center.js"></script>
</body>
</html>